<gm:page  title="MyTestApplication" authenticate="true" onload="onLoad()">
  
  <gm:data id="sdd" data="${app}/sd"/>
     
  <gm:map id="myMapp" data="${sdd}" latref="gd:lat" lngref="gd:long" control="small" create="true" height="600px" />
   
   <script>    
    var points = [];     
    function onLoad() {
        var myMap = google.mashups.getObjectById("myMapp").getMap();
        myMap.addControl(new GMapTypeControl());   
        myMap.addControl(new GScaleControl());
        GEvent.addListener(myMap, "click", function(overlay, point) {if (point) alert("hello GME-addicts!! Welcome to the club!");})                       
    }
   </script>
</gm:page>
  
  
